Remove Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes a key from the dictionary. Always throws an exception indicating that this method is not supported in a read-only dictionary.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public virtual bool Remove(
	TKey key
)
Visual Basic (Declaration)
Public Overridable Function Remove ( _
	key As TKey _
) As Boolean
Visual C++
public:
virtual bool Remove (
	TKey key
)

Parameters

key
TKey
Key to remove from the dictionary.

Return Value

True if the key was found, false otherwise.

Exceptions

ExceptionCondition
System..::NotSupportedExceptionAlways thrown.

See Also